﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CardTypes = Wormhole.Engine.CardLibrary.CardTypes;
using CardProperties = Wormhole.Engine.CardLibrary.CardProperties;

namespace Wormhole.Engine.CardLibrary.SG1.Cards.Hero.Gear
{
	/// <author>Rodney McKay</author>
	/// <date>08 April 2008</date>
	/// <summary>
	/// Galaran Memory Device
	/// </summary>
	/// <card>
	///		<title>Galaran Memory Device</title>
	///		<cost>2</cost>
	///		<gameText>Stop this gear, discard a card – Take a hero card from your discard pile and shuffle that card into your deck.</gameText>
	///		<lore>The technologically advanced Galarans have been working for decades with Goa'uld technology abandoned on their world. From it, they developed their own means to copy one person's memories to another.</lore>
	///		
	///		<collectorInfo>
	///			<expansion>1</expansion>
	///			<rarity>Common</rarity>
	///			<number>143</number>
	///		</collectorInfo>
	///		
	///		<traits>
	///			<trait>Gear</trait>
	///		</traits>
	/// </card>
	public class SG1C143 : CardTypes.Gear
	{
		#region Properties

		#region Title
		/// <summary>
		/// The Card Title.
		/// </summary>
		public override string Title
		{
			get { return "Galaran Memory Device"; }
		}
		#endregion

		#region Cost
		/// <summary>
		/// The power cost of the card.
		/// </summary>
		public override int Cost
		{
			get { return 2; }
		}
		#endregion

		#region Game Text
		/// <summary>
		/// The card rules.
		/// </summary>
		public override string GameText
		{
			get
			{
				return "Stop this gear, discard a card – Take a hero card from your discard pile and shuffle that card into your deck.";
			}
		}
		#endregion

		#region Lore
		/// <summary>
		/// The story behind the card.
		/// </summary>
		public override string Lore
		{
			get
			{
				return "The technologically advanced Galarans have been working for decades with Goa'uld technology abandoned on their world. From it, they developed their own means to copy one person's memories to another.";
			}
		}
		#endregion

		#region Collector Info
		private CardProperties.CollectorInfo _collectorInfo;
		/// <summary>
		/// The collector information.
		/// </summary>
		public override CardProperties.CollectorInfo CollectorInfo
		{
			get
			{
				if (this._collectorInfo == null)
				{
					this._collectorInfo = new CardProperties.CollectorInfo();
					this._collectorInfo.Expansion = 1;
					this._collectorInfo.Rarity = CardProperties.Rarity.Common;
					this._collectorInfo.Number = 143;
				}

				return this._collectorInfo;
			}
		}
		#endregion

		#region Traits
		private CardProperties.Traits _traits;
		/// <summary>
		/// The card traits.
		/// </summary>
		public override CardProperties.Traits Traits
		{
			get
			{
				if (this._traits == null)
				{
					this._traits = new CardProperties.Traits();
					this._traits.Add(CardProperties.Trait.Gear);
				}

				return this._traits;
			}
		}
		#endregion

		#region Image URI
		private Uri _imageUri;
		/// <summary>
		/// The location of the card image.
		/// </summary>
		public override Uri ImageUri
		{
			get
			{
				if (this._imageUri == null)
				{
					this._imageUri = new Uri("pack://application:,,,/Wormhole.Engine.CardLibrary.SG1;component/Images/Hero/Gear/1C143.jpg", UriKind.Absolute);
				}

				return this._imageUri;
			}
		}
		#endregion

		#endregion

		#region Constructor
		/// <summary>
		/// Initialize a new instance of the class.
		/// </summary>
		/// <param name="owner">The card owner.</param>
		public SG1C143(Player.Player owner)
			: base(owner)
		{

		}
		#endregion
	}
}
